package com.daka.service;

import com.daka.entity.UserPassportApplyOrder;
import com.daka.vo.Page;
import com.daka.vo.request.PassportRequestVo;
import com.daka.vo.response.passport.PassportResponseCMS;
import com.daka.vo.response.passport.PassportResponseVo;

import java.util.List;

/**
 * Created by yangx
 * CreateTime: 2016/10/25 8:52
 */

public interface UserPassportApplyOrderService {

    int insert(UserPassportApplyOrder po);

    int update(UserPassportApplyOrder po);

    UserPassportApplyOrder selectByPrimaryKey(Long id);

    Page<PassportResponseVo> selectPageByStatement(PassportRequestVo po);

    Page<PassportResponseVo> selectPageByDate(PassportRequestVo po);

    List<UserPassportApplyOrder> selectByStatement(PassportRequestVo po);
    int selectByStatementCount(PassportRequestVo po);

    Page<PassportResponseCMS> selectPageByAddress(PassportRequestVo po);

    List<UserPassportApplyOrder> selectDetByOrder(PassportRequestVo po);

}
